package com.hfut.jpoa.dao;

import com.hfut.jpoa.common.exception.DaoException;
import com.hfut.jpoa.model.Project;

public interface ProjectDAO {
    int deleteByPrimaryKey(String projectId) throws DaoException;

    void insert(Project record) throws DaoException;

    void insertSelective(Project record) throws DaoException;

    Project selectByPrimaryKey(String projectId) throws DaoException;

    int updateByPrimaryKeySelective(Project record) throws DaoException;

    int updateByPrimaryKey(Project record) throws DaoException;
}